/**
 * 
 */
package edu.gtcfla.km.admin.appmodules.vo;

import java.util.List;

import org.vsg.biz.BusinessEntityFactory;
import org.vsg.biz.account.User;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * @author Bill Vison
 *
 */
@JsonIgnoreProperties(value = {"entity"})
public class UserRoleAssignedFormVO implements java.io.Serializable{
	
	/**
	 * 
	 */

	private User entity;
	
	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
	
	private List<String> selectedRoles;
	
	public UserRoleAssignedFormVO(User sysUser) {
		this.entity = sysUser;
	}
	
	public UserRoleAssignedFormVO() {
		this.entity = entityFactory.create(User.class);
	}

	public void setId(String newId) {
		entity.setId(newId);
	}

	public String getId() {
		return entity.getId();
	}

	public List<String> getSelectedRoles() {
		return selectedRoles;
	}

	public void setSelectedRoles(List<String> selectedRoles) {
		this.selectedRoles = selectedRoles;
	}

	
	
}
